package com.github.wxiaoqi.security.crm.core.mqlistener;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/** 
* @author: bolei
* @date：2018年7月28日 下午5:13:48 
* @description：支付相关业务回调通过MQ处理
*/

@Component
@RabbitListener(queues = "topic.payment")
public class paymentMqHandler {

	@RabbitHandler
    public void process(String hello) {
        System.out.println("Receiver  : " + hello);
    }
}
